package com.zyf.school.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zyf.school.manager.domain.Department;

import java.util.List;

public interface DepartmentService extends IService<Department> {
    //通过ID来查询
    public Department queryById(int id);
    //保存部门信息
    //public void save(Department department);
    //查询
    public List<Department> queryAll();

    //通过id来查询
    public List<Department> queryParent(int id);
}
